<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        var str1='张三';
        var str2='张三要跟\n李四pk';  //  \n在解析的时候会被解析为换行
        console.log(str1);
        console.log(str2);

        var str=哈哈;   // 执行的时候会报错： 哈哈 is not defined
        console.log(str3); 
    </script>
</head>
<body>
    
</body>
</html>